﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using Team6_Algorithms.HighEnd;
using Team6_Algorithms.AidingClasses;
using Team6_Algorithms.Operations;

namespace VisionApplication
{
    class BlobDetector : VisionAlgorithm
    {

        public BlobDetector(String name, string[] required) : base(name, required) { }

        public override System.Drawing.Bitmap DoAlgorithm(System.Drawing.Bitmap sourceImage, Object obj)
        {


          List<Blob> blobbers = new List<Blob>();
          blobbers = BlobDetection.doAlgorithm(sourceImage);
           
          Console.WriteLine("Aantal blobs: " + blobbers.Count);


          return sourceImage;
        }
    }
}
